I would start by obtaining 4 jack-stands, exactly alike, then jack-up your RZR on a flat surface (such as your garage floor) and place 1 jack-stand under each extreme corner of your frame. Be sure to measure each jack-stand to make absolutely certain that it's extended-length is exactly the same as the others, and you may have to remove your belly-pan so that the frame is resting directly on the jack-stands. It is important that, after jacking-up your RZR, the laterally-positioned (side-to-side) jacks are contacting the frame in the exact same positions, and that the frame, at each of the 4 supported corners measures exactly the same heigth from the floor. If, at this point, your RZR is "rocking" a bit on the jacks and won't sit absolutely flat, that's a good preliminary indication that the frame is twisted.
Ok, now pull all 4 wheels and carefully measure the distance/s from the floor to the center axle-stub/s (in the center of the hub/s). The 2 front ones should measure the same as each other, and the two rear ones should measure the same as each other, but the front and the rears probably won't measure the same as each other. If one of the two rear floor-to-hub-center distances is different than the other, or one of the two front floor-to-hub-center distances is different than the other, then there's a good probability that your suspension-arms, front and/or rear are bent or tweaked, and by comparative-measuring, you should be able to determine which one.
Long-winded, but I hope this helps........
Cheers