Any unauthorized person wearing a military uniform or facsimile thereof with the intent to impersonate a person with military authority is guilty of a misdemeanor; but if this offense is committed in time of war or following a declaration of martial law, the offender shall be guilty of a fourth degree felony.
NMS § 20-11-5