Sounds like a poorly thought out ontological argument to me.
What? I mean, whats ontological about it?
Edit: Here the premise is not existence of God but existence of thought. Just becouse you are in position to imagine (think of) reality greater than yourself (call it God if you wish) that means that that reality does exist in some form.