How to compare one set of x and y coordinates with another set of x and y coordinates

all and identical will return false if any single value donot match what i want is following

  1. it should match both coordinates ie x and y of each location of one matrix with other(instore and online)
  2. either give only matched locations or give status of all locations
 x  y
 7 13 loc 1
 4  7 loc 2
 7 13 loc 3
 2  4 loc 4
 8  5 loc 5
 10 7 loc 6
 2  5 loc 7
 8 11 loc 8
 5 12 loc 9
11  1 loc 10
> instore
 x  y
10  5 loc 1
10 14 loc 1
11  8 loc 3
14 11 loc 4
4  13 loc 5
3  14 loc 6
9  11 loc 7
11  5 loc 8
12 12 loc 9 
4  13 loc 10