Because your account was closed, the bank will reject the direct deposit. In that case, your refund will be returned to the IRS, and it could take about 2 to 7 weeks to the IRS to mail a paper check to the address you put on your tax return.
You can track your refund in the link I shared with you:
Where's my Refund