they can be both if the mutant gene causes the organism to have a new property which improves its life it is helpful and evolution occurs since due to natural selection offspring having the mutant...
x rays can hurt but cant kill you. so if there searching for a life threatning object in your body it matters. so they are helpful but they sometimes injure people.