The issue is actually internal flash, not RAM. IIRC, both the Nexus One and the HTC One X have 1GB of RAM. The Nexus has a 1GHz processor vs the OneX's 1.5GHz, but the big issue is that the Nexus only has 256MB internal flash (196 usable) where the OneX has 16G (12 usable).
So I don't buy the RAM argument. And I doubt that the Nexus One is actually *limited* to only 26MB of flash - a rework shop could potentially probably slap at least a 4GB chip in there, if the obvious easy answer of figuring out how to use the microSD card as 'internal' flash turns out to not be so easy. Owait, someone's done that; see http://forum.xda-developers.com/showthread.php?t=1366897