The formula for the change of the internal energy of an ideal gas is given by:
ΔU=nCvΔT
where n is the number of moles of your ideal gas, Cv is the heat capacity of your gas, and ΔT is the change in temperature. As enahs mentioned, this formula shows that the change in internal energy is directly proportional to the change in temperature. If you have no change in temperature (ΔT = 0), then you have no change in internal energy (ΔU = 0).