I know a writer takes his characters, their history, and then manufactures some kind of threat. It's sort of sitcom without the com. In this episode, a wandering probe that was to be used for benevolent purposes has collided with another device and its mission has changed. It is called "Nomad" because it travels from place to place. Unfortunately, it destroys anything with imperfections; that includes even modest things. In a ridiculous move, it finds Uhura to be imperfect and wipes her memory clean. She is put back in kindergarten. Does anyone see how stupid this is? Even if she is retrained, she has no experiences or data to do her job. Others are killed when they confront the thing. The only salvation is that the thing has mistaken Kirk for the creator of the device. It moves around the ship like an efficiency expert in the sixties (although the worst that could happen then was you got fired). As time goes along, the probe starts to put two and two together and Kirk's control of it begins to wane. Spock is able to figure out its skewed mission by doing the old mind meld. So what to do. The conclusion has to do with logic. Spock's kind of logic.