I took a hardship withdrawal from 401k for unreimbursed medical expenses.Will that be added as income to my AGI?

Will that put me in a higher tax bracket and added as income when I file? They took out money for federal and state when I got the withdrawal but said there might be a chance I could owe more when I file taxes.