Good point. Here's a way to do it with only slightly more computation and
no more memory: `numpy.unique(X).tolist() == [False, True]` (`unique` is
guaranteed to return its values sorted, and whatever numeric 0 and 1 values
get returned will == False and True, I just checked)