#MATL, 2 bytes

    Xy

A translation of my Octave answer.

[Try it online.](http://matl.tryitonline.net/#code=WHk&input=Mw&args=)

A 4 byte version with no built-ins (thanks to Luis Mendo):

    :t!=
     t    duplicate input
      !   zip
       =  thread compare over the result