One is not a prime number, but zero is! It's different than the other prime numbers in $\mathbb{Z}$, though, because it has height zero rather than height one.
Zero is prime in any integral domain. Remember that the trivial ring is not an integral domain.

