There are quite a few ideas for closed loop extrudes or identifying whether they are closed or not. However I couldn't see any asking for this, if I create a really simple sketch of two overlapping rectangles:

It is impossible to simply pick the overlap area, which is effectively a closed profile and extrude/revolve:

The only way appears to be splitting the sketch geometry, which then allows you select the overlap area as closed boundary:

This seems like extra steps, which you shouldn't need to make and other applications do not require you to split!