The biological sex of a person will control the gender option on federal immigration documents. See updated USCIS manual here: https://www.uscis.gov/sites/default/files/document/policy-manual-updates/20250402-RecognizingMaleAndFemaleSexes.pdf. Also see the Department of State’s issued update here: https://travel.state.gov/content/travel/en/passports/passport-help/sex-marker.html
