I don’t think Cruz is eligible, but he did get a ruling from the Illinois Board of Elections at least, so there’s that.
In Illinois you can be assured that board in composed of hacks who know nothing. It’s ruling has no bearing outside the state and maybe not even there.