The Federal courts have ruled that the 14th Amendment grants automatic citizenship to *anyone* born here regardless of the legal status of the parents.Many "civilized" countries used to have such a law (referred to as "jus soli") but today the US and Canada are basically the only civilized nations that still do so....but there are a number of backward,Third World,nations that do as well.
again theres not a law like that...
Federal courts do not make law...
that’s the job for Congress...