In trying to construct a non-commutative group with exactly $1$ nilpotent of degree $2$, I ended up constructing one with the following presentation: $$G=\langle r, f\,:\, r^3=e , f^3=e, fr=r^2f\rangle$$ (which is noncommutative and has no nilpotents of degree $2$ so $\mathbb{Z}_2 \times G$ satisfies what I wanted).
This group $G$ reminds me a lot of dihedral groups. Is it a well known group?
If $fr= r^2f$ and $r^3=e$, then you have $frf^{-1}=r^{-1}$. But then $f^2rf^{-2}=r$ and $r = f^3rf^{-3}=r^{-1}$. So $r^2=e$; since $r^3=e$, then $r=e$, and so your group is just the cyclic group of order $3$ generated by $f$.