Well, illegals don't actually vote, so there is a bit more to it than that. Oddly enough, my wife's family is split up between the US and Mexico. The ones here are super conservative and vote Republican, while the ones in Mexico are super liberal. Kind of strange how split they are.
I would say the Republican party as a whole needs to do a better job of appealing to Mexican-Americans.