Correct. X-rays are part of the electromagnetic spectrum (higher in frequency than light, but lower than gamma rays).
Memory cards, removable memory modules, MP3 players, etc are completely electronic. There are no magnetic heads, no magnetic tape, etc that would be affected by X-rays.