It is illegal, they would be subject to jail and then deportation if discovered.