And if their origins are not the same using the boundingbox-coordinates could be used to check..
If one of the sprites is moving (which is almost certain) it must be said that there is hardly any chance of the coordinates to be exactly the same, so you might want to work with an expression checking if the sprite is within a distance of for example 5px of the other, and set it to the exact location if so..