Hmm.. I once managed to tie in a square with that method using 4 x &&!
Maybe your solution would be to check for a hit test, rather than the y position.

Are you sure the registration point of the arrow is located at it's tip and not anywhere else, because that's something people tend to forget about when using arrows