Are yams and sweet potatoes the same?
1786, "walking in one's sleep or under hypnosis," from French somnambulisme, from Modern Latin somnambulus "sleepwalker," from Latin somnus "sleep" (see Somnus) + ambulare "to walk" (see amble (v.)).
Originally brought into use during the excitement over "animal magnetism;" it won out over noctambulation. A stack of related words came into use early 19c., e.g. somnambule "sleepwalker" (1837, from French somnambule, 1690s), earlier somnambulator (1803); as adjectives, somnambulary (1827), somnambular (1820).
somnambulism som·nam·bu·lism (sŏm-nām'byə-lĭz'əm)