No. They are two different rays.
A gamma ray might have a good chance of going right through the X-ray machine. Remember that the X-ray machine creates X-rays and not gamma rays to perform its function.
Gamma ray radiation
Gamma ray photons have a higher frequency (and therefore carry more energy) than X-ray photons.
Gamma rays have energies higher than that of X-rays. It is true that there is some overlap of the upper end of the X-ray spectrum and the lower end of the gamma ray spectrum, but the X-ray spectrum falls below that of the gamma ray spectrum. For these reasons, if someone asks if X-rays can have higher energies than gamma rays, the answer would be in the negative.
Generally speaking, it is gamma rays that have a higher frequency (and energy) than X-rays. The upper end of the X-ray spectrum and the lower end of the gamma ray spectrum enjoy a bit of overlap, but the X-ray does not have a higher frequency than the gamma ray.
gamma ray
Gamma ray
A gamma ray has more energy than an X-ray.
x-ray
well none, its either gamma ray or gamma radiation, it has the same wavelength as an x-ray but higher energy level.
Gamma rays have higher frequency than X-rays. Gamma rays have frequencies greater than 10^19 Hz, while X-rays have frequencies in the range of 10^16 to 10^19 Hz.
The form of radiation from the sun that has the shortest wave length is known as a gamma ray. The next type of ray that is longer than a gamma ray is an x-ray.