My question is how would I go about proving this?
Prove that $R$ is a local ring if and only if all elements of R that are not units form an ideal.
I understand that I need to prove both directions so:
$(\Rightarrow)$ Local ring means has a unique maximal ideal, so I want to show that this implies the elements are not units.
$(\Leftarrow)$ non unit elements of $R$ form an ideal, so if I show this is unique maximal ideal I can then conclude local ring?
Any hints would be appreciated.