According to Federal law anyone who gave such aid to an illegal alien is breaking the law. And if said illegal alien commits murder than the person who gave them aid can receive the death penalty. Last I knew those laws were still on the books.
The Quartering Act was deemed unconstitutional decades ago because it is an unjust tax. NY needs a history lesson.