If you came here legally as a green card, if you came here legally as a visitor to the United States, if you came here and had a green card but never became a citizen and you have a child here, that child is a citizen.