I cashed out my 401k upon termination of employment, do I have to file this is on my taxes?

I cashed out my 401K when I left my old job, I paid an early penalty fee and I just need to know if the IRS will consider it income?