No he did say that LEGALLY! He said he wants them to come in but LEGALLY!
That's the opposite of amnesty.
You understand that changing the law to allow people who broke into our country illegally to reenter without penalty is making them “legal”.
Congress could make them all legal overnight - by simply changing the law. So “legally” is whatever you make the law and not all that meaningful after the fact.