What percentage of said Mexicans were in the US legally?
I'm not sure --- many also managed to be born here because we offer free health care and maternity hospitalization to anyone from the other side of the border who cares to come here and get it. Getting born here gets their families life-long government handouts --- so many were born here.