X-rays can be useful in detecting certain types of poisoning. For example, they can identify the presence of radiopaque substances like lead, mercury, or iron in the gastrointestinal tract. However, X-rays are not effective for detecting all types of poisoning and may need to be supplemented with other diagnostic methods, such as blood tests or urine analysis.