No he hasn’t.
Cruz flip-flopped on birthright citizenship and then feigned support for the 2013 immigration bill with a strategy to attach his poison pill amendments.
In essence, he was for it before he was against it. A RedState article covered the time line on this very well.