Yes, X-rays are a primary tool for detecting gold, but the method varies by application. In security settings like airports, X-ray scanners use dual-energy technology to identify materials by their atomic density; gold, being extremely dense (Z=79), appears as a distinct dark or opaque shape that stands out from organic materials. In the mining industry, a revolutionary 2026 technology called PhotonAssay uses high-powered X-rays to bombard rock samples. This process "activates" the gold atoms, causing them to emit a unique signature that a detector picks up to determine the exact concentration of the metal. This method is much faster and more environmentally friendly than traditional fire assaying. While X-rays can "see" gold, they cannot always distinguish it from other heavy metals of similar density (like tungsten) without advanced spectroscopic analysis, which is why manual inspection or further testing is often required in high-stakes scenarios.