The man was taken to a hospital for a psychological evaluation