HTC One X screen is sharper, but by a bit. Every other aspect is better on the SGS3.
Biggest factor is storage or removeable battery. If you dont need either, you MIGHT be happy with the One X. If your buying used, One X will fetch you $150-200 cheaper than a SGS3 right now today. At that spread, the One X is more fitting.