"Under the Mexican law, illegal immigration is a felony, punishable by up to two years in prison. Immigrants who are deported and attempt to re-enter can be imprisoned for 10 years. Visa violators can be sentenced to six-year terms. Mexicans who help illegal immigrants are considered criminals.
"The law also says Mexico can deport foreigners who are deemed detrimental to 'economic or national interests,' violate Mexican law, are not 'physically or mentally healthy' or lack the 'necessary funds for their sustenance' and for their dependents."