A stomach X-ray can detect a number of things, including:
-The presence of food in the stomach
-The size and shape of the stomach
-The presence of any foreign objects in the stomach
-The presence of any abnormalities in the stomach, such as ulcers or tumors