Let $G$ be a group, and let $z\in G$ be an element of order $2$. Show that $\{ 1,z\}$ is a normal subgroup of $G$ if and only if $z \in Z(G)$.
For the $\rightarrow$ way, I thought about -
If $g\{1,z\}=\{1,z\}g$, then we got 2 options-
$gz=zg$, and we are done.
$g*1=g=zg$, and then $1=z$, but $z$ is of order 2 and therefore $z$ isn't $1$( which is meanningless as $1 \in Z(G)$ anyway...).
I feel like this is wrong, as we don't really use the assumption that $z$ if of order $2$...
For the other way I could use the same claim, just from the other direction...
You use that fact for knowing that it is a subgroup of G.