You can wear your hair long or wear a beard because you want to show that you are interested in thought, in psychological endeavors rather than appearance.