Isaiah's passage on the judgment of Edom:
“For My sword shall be bathed in heaven;
Indeed it shall come down on Edom,
And on the people of My curse, for judgment.
6 The sword of the Lord is filled with blood,
It is made overflowing with fatness,
With the blood of lambs and goats,
With the fat of the kidneys of rams.
For the Lord has a sacrifice in Bozrah,
And a great slaughter in the land of Edom.
7 The wild oxen shall come down with them,
And the young bulls with the mighty bulls;
Their land shall be soaked with blood,
And their dust saturated with fatness.”
8 For it is the day of the Lord’s vengeance,
The year of recompense for the cause of Zion.
9 Its streams shall be turned into pitch,
And its dust into brimstone;
Its land shall become burning pitch.
10 It shall not be quenched night or day;
Its smoke shall ascend forever.
From generation to generation it shall lie waste;
No one shall pass through it forever and ever.
11 But the pelican and the porcupine shall possess it,
Also the owl and the raven shall dwell in it.
And He shall stretch out over it
The line of confusion and the stones of emptiness.
12 They shall call its nobles to the kingdom,
But none shall be there, and all its princes shall be nothing.
13 And thorns shall come up in its palaces,
Nettles and brambles in its fortresses;
It shall be a habitation of jackals,
A courtyard for ostriches.
14 The wild beasts of the desert shall also meet with the jackals,
And the wild goat shall bleat to its companion;
Also the night creature shall rest there,
And find for herself a place of rest.
15 There the arrow snake shall make her nest and lay eggs
And hatch, and gather them under her shadow;
There also shall the hawks be gathered,
Every one with her mate. Isaiah 34:5-15
The judgment of those who receive the mark of the beast from the book of the Revelation :
9 Then a third angel followed them, saying with a loud voice, “If anyone worships the beast and his image, and receives his mark on his forehead or on his hand, 10 he himself shall also drink of the wine of the wrath of God, which is poured out full strength into the cup of His indignation. He shall be tormented with fire and brimstone in the presence of the holy angels and in the presence of the Lamb. 11 And the smoke of their torment ascends forever and ever; and they have no rest day or night, who worship the beast and his image, and whoever receives the mark of his name. Revelation 14:9-11
The judgment of Babylon the great from the book of the Revelation:
18 After these things I saw another angel coming down from heaven, having great authority, and the earth was illuminated with his glory. 2 And he cried mightily with a loud voice, saying, “Babylon the great is fallen, is fallen, and has become a dwelling place of demons, a prison for every foul spirit, and a cage for every unclean and hated bird! 3 For all the nations have drunk of the wine of the wrath of her fornication, the kings of the earth have committed fornication with her, and the merchants of the earth have become rich through the abundance of her luxury.” Revelation 18:1-3
I can't be dogmatic about it, but these passages sound like parallel passages about the same events. It also sounds like both heaven and hell come to Earth at Christ's return with the condemned cast into outer darkness. This isn't about the final judgment, but the judgment between " the sheep and the goats (anathema Maranatha)".
None of these passages are particularly easy to understand, but I'm convinced that the unclean are those that are not cleansed by the blood of Christ. In context, Isaiah includes the heavenly host in the same judgment.