>>> np.logical_or(True, False) True >>> np.logical_or([True, False], [False, False]) array([ True, False])
a = np.array([True, False]) >>> b = np.array([False, False]) >>> a & b array([False, False])