Computes an element-wise comparison (not equal) of an array.