Find indices of elements equal to zero from numpy array,numpy.where((x == 0))[0]