There is np.where, np.argwhere, np.nonzero and np.flatnonzero. Take your pick.
np.where and np.nonzero are as far as I know equivalent, only there is also a three argument version of where that does something different. np.argwhere is the transpose and np.flatnonzero gives flat indices.