I don't think the law is specific to a child's immigration status, but fedl law requires ESL when English is a "second language" in a child's home. The law may not even reference the legal status of the child's family - only the child's need for ESL instruction.
Don't forget - lots of pregnant mothers cross the border into the US to deliver. And the baby is then a US citizen...