find all the indexes in a numpy 2d array where the value is 1,zip(*np.where(a == 1))