Think of (x, y) as one 24-bit number, as described in the comments.
Maintain A in numerical order (you said that it is not much different, so it is unlikely to cost).
For each B, do a binary search in the list. Since A is about 1,000 titles, you will need no more than 10 whole comparisons (in the worst case) to verify membership.
If you have a little more memory (about 2 MB) to play with you, you can create a bit vector to support all possible 24-bit numbers, and then perform a one-bit action for each item to verify membership. Thus, A will be represented by a single number 2 ^ 24 bits with a bit set, if the value is (otherwise 0). To verify membership, you simply use the appropriate bit and operation.