hi
Not very clear what you mean. But if you have a list of parking spots (polygons) as agents, you can have a bool variable in that agent that detects if there is any car inside this polygon (true/false).
And then you can use one_of and use where to filter polygons where the bool is false. Then you can set car target to this empty parking agent.
Srirama