A point $p$ is a limit point of the set $E$ if every neighbourhood of $p$ contains a point $q \not= p$ such that $q \in E$. So there are no limit points in $\mathbb{Z} \in \mathbb{R}$. Is that why it's closed?
A point $p$ is an interior point of the set $E$ if there is a neighbourhood $N$ of $p$ such that $N \subset E$.
So every point in $\mathbb{Z} \in \mathbb{R}$ is an interior point. So shouldn't $\mathbb{Z}$ be open as well?