H1B and illegal immigration are two entirely different subjects that have nothing to do with each other. And he has come down as wanting to crack down, hard, on those abusing the H1B system.
Ted Cruz on H-1Bs
http://www.freerepublic.com/focus/f-news/3358297/posts
[Vince Coakley Radio Show]
[FRiends discuss the controversy in-depth not only regarding Cruz but also Trump]