You are not less nonbinary if you must appear cis, and even follow typical gender roles, for your own safety.
Do you think that a chameleon is less a chameleon because it has disguised itself for protection? Of course not.
Similarly, your appearance does not dictate your gender, especially under these circumstances.
Do what you must to stay safe.