Question: is the id ego and superego part of the unconscious mind

Answer: No, The iceberg metaphor is a commonly used visual metaphor when attempting to relate the ego, id and superego with the conscious and unconscious mind. In the iceberg metaphor the entire id and part of both the superego and the ego would be submerged in the underwater portion representing the unconscious mind. The remaining portions of the ego and superego would be displayed above water in the conscious mind area.