Windows XP doesn't support the modern hardware (Sandy Bridge) in the new iMacs. So you can't run it in Boot Camp.
You can run XP under VMware Fusion or Parallels, since they create a virtual environment which hides the details of the hardware. However, the performance of a virtualized XP system may not meet gaming expectations.
The best answer is to use Windows 7