You're saying something that looks close enough on the surface but is fundamentally different.
Crimes perpetuated by people of migrant background doesn't equate to immigration being the cause of these crimes. If we accept that rhetoric, violent crimes are overwhelmingly done by men, so being a men is the cause of violence, right ?