Breakdown of Anselm of Canterbury's Ontological Argument (the classic O.A., from the Proslogion, of which the arguments of Descartes and Spinoza are variations):
1. God is “something than which nothing greater can be thought.”
2. This nature exists in the mind. Even when someone (the Fool of the Psalms) denies the existence of God, that nature must exist in his mind.
2.1. The Fool hears the words “that than which nothing greater can be thought” (=NGT)
2.2. In order to deny the existence of x, x must be understood when heard.
2.3. The Fool denies the existence of NGT.
2.4. Therefore NGT is understood by the Fool.
2.5. Whatever is understood exists in the mind of the hearer.
2.6. Therefore, NGT exists in the mind of the Fool.
3. Existence in the mind and existence in reality are distinct:
3.1. When a painter contemplates the design he is about to paint, it exists in his mind.
3.2. But prior to its execution, this idea is not understood to be.
3.3. If the painter contemplates the same design after he has painted the picture, he now understands it as something really existent: it is understood to be.
3.4. Therefore, the human mind can and does distinguish between its own ideas taken simply as ideas, and its ideas as representative of things that are real and existent.
3.5. Whatever the mind can compare, it can rank and order.
3.6. Thus our mind can compare the ideas of something as existent in reality, and as existent in the mind alone, and can rank one—the existent—as greater than the other.
4. “That than which nothing greater can be thought” (NGT) cannot exist in the mind alone.
Reductio ad absurdum argument:
4.1. Assume that the idea, NGT, exists in the mind alone.
4.2. Then NGT can also be thought to exist in reality as well. (This is what the painting analogy shows: it is possible for something to exist in the mind alone, in reality alone; or in both mind and reality).
4.3. But to exist in reality and in the mind is greater than to exist in the mind alone.
4.4. Thus, if “that than which nothing greater can be thought” exists only in the mind, then “that than which nothing greater can be thought” is not really “that than which nothing greater can be thought,” since a greater can be thought, namely, this same nature as existent in reality.
4.5. This is a contradiction, and thus completes the reductio. A NGT that exists in the mind alone is not a NGT.
5. Therefore, God exists.
---------------------------------------------------
Now the problem with Anselm's argument, as I see it, is that the finite mind cannot grasp the nature/essence/quiddity of God (premise 2); to grasp the infinite is beyond the ability of the finite. And if the Fool could/did actually understand God's essence he would/could have no doubt of God's existence, for God's existence is certainly contained in His essence: existence or being is a fundamental fact about God. For him to 'reject' God's existence tells us that he really does not/could not really grasp God's essence. So, fundamentally, Anselm's error is in ascribing to the human mind a power beyond its ability. (We will, of course, have a vision of God's essence when we receive the beatific vision in Heaven, but we cannot do so here.)