There’s no harm in applying for jobs that have closed, or reapplying for jobs that reopen if you were unsuccessful the first time.
Where possible, call the person involved to understand the situation and stake your claim for being considered.
Otherwise, sending a short and clear email about your desire to apply should get you the information you need.
The worst case is getting a “thanks but no thanks”, or not hearing back at all.
The best case is getting a green light to throw your hat into the ring.
.