I know that $1$ is not a prime number because $1\cdot\mathbb Z=\mathbb Z$ is, by convention, not a prime ideal in the ring $\mathbb Z$.
However, since $\mathbb Z$ is a domain, $0\cdot\mathbb Z=0$ is a prime ideal in $\mathbb Z$. Isn't $(p)$ being a prime ideal the very definition of $p$ being a prime element?
(I know that this would violate the Fundamental Theorem of Arithmetic.)
Edit: Apparently the answer is that a prime element in a ring is, by convention a non-zero non-unit (see wikipedia).
This is strange because a prime ideal of a ring is, by convention, a proper ideal but not necessarily non-zero (see wikipedia).
So, my question is now: Why do we make this awkward convention?
You have a point here: absolutely we want to count $(0)$ as a prime ideal in $\mathbb{Z}$ -- because $\mathbb{Z}$ is an integral domain -- whereas we do not want to count $(1)$ as being a prime ideal -- because the zero ring is not an integral domain (which, to me, is much more a true fact than a convention: e.g., every integral domain has a field of fractions, and the zero ring does not).
I think we do not want to call $0$ a prime element because, in practice, we never want to include $0$ in divisibility arguments. Another way to say this is that we generally want to study factorization in integral domains, but once we have specified that a commutative ring $R$ is a domain, we know all there is to know about factoring $0$: $0 = x_1 \cdots x_n$ iff at least one $x_i = 0$.
Here is one way to make this "ignoring $0$" convention look more natural: the notions of factorization, prime element, irreducible element, and so forth in an integral domain $R$ depend entirely on the multiplicative structure of $R$. Thus we can think of factorization questions as taking place in the cancellative monoid $(R \setminus 0,\cdot)$. (Cancellative means: if $x \cdot y = x \cdot z$, then $y = z$.) In this context it is natural to exclude zero, because otherwise the monoid would not be cancellative. Contemporary algebraists often think about factorization as a property of monoids rather than integral domains per se. For a little more information about this, see e.g. Section 4.1 of http://alpha.math.uga.edu/~pete/factorization2010.pdf.