Swampman is the subject of a philosophical thought experiment introduced by Donald Davidson in his 1987 paper "Knowing One's Own Mind".
The experiment runs as follows:
Suppose Davidson goes hiking in the swamp and is struck and killed by a lightning bolt. At the same time, nearby in the swamp another lightning bolt spontaneously rearranges a bunch of molecules such that, entirely by coincidence, they take on exactly the same form that Davidson's body had at the moment of his untimely death.
This being, whom Davidson terms "Swampman," has, of course, a brain which is structurally identical to that which Davidson had, and will thus, presumably, behave exactly as Davidson would have. He will walk out of the swamp, return to Davidson's office at Berkeley, and write the same essays he would have written; he will interact like an amicable person with all of Davidson's friends and family, and so forth.
Davidson holds that there would nevertheless be a difference, though no one would notice it. Swampman will appear to recognize Davidson's friends, but it is impossible for him to actually recognize them, as he has never seen them before. As Davidson puts it, "It can't recognize anything, because it never cognized anything in the first place."
These considerations lead Davidson to deny that the Swampman's utterances can be construed as referring to anything in particular. To take a fairly specific example, suppose that at some point the previous day Davidson had looked at a glass marble on a shelf; unbeknownst to him there was another, visually identical, glass marble hidden right behind it. When he makes an assertion about "the marble I saw yesterday", we take him to be referring to the one that he did in fact see, even if he could not supply enough descriptive information to identify it later. Had the marbles been arranged in the other order, therefore, we would take him to be referring to the other marble, yet his internal state would be identical.
The Swampman has no causal history. He is in the same state as the actual Davidson and the counter-factual Davidson considered above, whose utterances refer to different marbles. As a result, his utterance could refer to either marble. In principle, Davidson tells us, the above indeterminacies can be extended to any degree we like: the fact that the Swampman happens to be identical to Davidson does not change the fact that he could have arrived at that state by any one of countless histories, each of which would demand we interpret him differently. Until the Swampman has begun interacting with and using language among the objects of the real world, we can have no grounds to attributing any meanings or thoughts to him at all.