Fleet subs moving very slowly decks awash (in good seas) or at radar deptch would be able to detect contacts using their top mounted hydrophones.
However, a sub at periscope depth would readily detect contacts (provided conditions were acceptable and sea life didn't interfere). Another SH4 bug!
More info here-
http://www.maritime.org/fleetsub/sonar/index.htm
Yours, Mike