Many large repositories use labels to show the state of the issue. You do not need to rely on open or closed.