In TX.

Texas

If a guy is 20 years old, and a girl is one month away from being 17. And they have sex and a child is conceived from it. Is that illegal?

Yes. Please see last post. Very similar question