magical thinking

noun
  1. a conviction that thinking is equivalent to doing, occurring in dreams, the thought patterns of children, and some types of mental disorders, especially obsessive-compulsive disorder.
Dictionary.com Unabridged Based on the Random House Unabridged Dictionary, © Random House, Inc. 2018