Some pregnant immigrants, particular those from Taiwan and China, come over in visiting visas and overstay in order to have their babies born in the US to obtain US citizenship. It's been fraking going on for decades. Aside from zoning issues that many maternity home operators violating, it's no illegal.
Not illegal? How about violating immigration laws?
Now, it's getting more complicated. An agency based on Taiwan is now openly promoting this.