Unfortunately Apple stopped supporting that, they probably did that to get the iMac thinner. On the older iMac models you could remove the stand and mount it using a VESA mount adapter.
However, you can buy iMac's without a stand directly from Apple if you need to.