Proof (both recurrent or transient if communicates)

A state is either recurrent or transient. So it suffices to show that if $x$ is recurrent and $x\leftrightarrow y$, then $y$ is recurrent.

Since $x$ $\leftrightarrow$ $y$, there exists $m$ and $l$ such that $p_{xy}(m) > 0$ and $p_{yx}(l) > 0$. Then $$ \begin{align*} \sum_{n\geq 0} p_{yy}(n) &\geq \sum_{n\geq 0} p_{yy}(l+n+m) \\ &\geq \sum_{n\geq 0} p_{yx}(l) p_{xx}(n) p_{xy}(m) \\ &= \underbrace{p_{yx}(l)}_{>0} \underbrace{p_{xy}(m)}_{>0} \underbrace{\sum_{n\geq 0} p_{xx}(n)}_{\infty} \\ &= \infty \end{align*} $$ so $y$ is recurrent.