What law would that be? Produce the law that says what you think it says.
You’re confusing citizenship with Natural Born citizenship which is declared in the constitution for the office of president. It is based on allegiance, and freedom from foreign ties.