This is the definition of integral domain
A ring that is commutative under multiplication, has a multiplicative identity element, and has no divisors of 0.
0 is an integer. 0 can divide any integers. Namely, 0 has infinitely many divisors. So why integers form an integral domain?
Yes, zero does in fact have infinitely many divisors. By using the term $\textit{zero divisors}$, they mean non-zero elements $x$ and $y$ so that $xy=0.$ If the only time that $xy=0$ is when either $x$ or $y$ is zero, then the ring has no zero divisors. This is true in $\mathbb{Z}$.
For an example of a ring with zero divisors, take the integers modulo six. Neither $2$ nor $3$ equals zero there, yet $2 \times 3 \equiv 0$ modulo six.