Birth tourism, or giving birth as a non-resident, is still legal in the United States. As long as the purpose of your visa application was not specifically related to childbirth, birthright citizenship remains protected under the constitution of the 14th Amendment for all individuals, irrespective of whether or not their parents are living legally in the country.