Finds all zero crossings in a 1D ndarray