Are the filaments still in their original packaging and if not, how were they stored? The main thing with old filaments is how much water they’ve absorbed from the environment, with older filaments stored in high humidity environments causing issues for print quality.
If your filaments have been stored sealed in original packaging, they’ll probably print like new. If they’ve been stored in an airtight container they’ll probably also be pretty good. You can also just give them a shot and see if you’re happy with the quality they provide.
If they’ve been stored open on a shelf, it isn’t necessarily over for them though. Look up guides on how to dry out filament. There’s a few products you can buy that do it too, but if you have a printer with an enclosure and heated bed you can use that as an oven to bake out your filament.
I’ve got a few filaments that have been sitting for over 6 years and after baking out they print absolutely fine.
If you’re getting nozzle clogs, then it’s probably not necessarily moisture but dust being an issue. Dusty and dirty filament pulls dust into the hotend, and the dust doesn’t melt so the buildup clogs the nozzle. I’ve made rudimentary wipes by stabbing the filament through some foam (the grey stuff you find in pelican cases) so that it’ll clean the filament of any surface dust as it travels through.
For drying the filament, I set the heated bed to just below the glass transition temp of the filament, put the spool on and leave it there. There are some guides for other methods, but I haven’t tried anything else so I can’t comment on them.