If I took a loan out on my retirement plan but am paying it back do I have to claim this as income?
No, you do not have to claim it as income.
If you do not pay the loan back then you will have to claim it as income. In that instance, you would receive a Form 1099-R from your retirement plan that you would then report on your tax return.