Retirement tax questions

Yes, I do mean the Tax Return. I am entirely out of my game when it comes to explaining tax filing jargon. So when I close my IRA the bank will write me a check. What I need to do is deposit it into another account and use that account towards the down payment on a mortgage and at tax time fill it as a down payment towards a home? I know that I will have to pay income tax on it, but will I be exempt of any other penalty?