While both temporary visa and permanent green card possibilities exist to bring a foreign nanny to the United States, if your nanny is already living in the U.S. without legal status, these possibilities become far fewer.
When foreign workers seek a U.S. green card through employment, they must in most cases rely on the U.S. employer that offered them a job to successfully complete the multitude of requirements associated with sponsoring them for a green card.