from Wikipedia:
Magical thinking includes all systems of magic, as it includes the idea of mental causation, i.e. the possibility of the mind having an effect on the physical world directly. In Jungian psychology, magical thinking is described in terms of synchronicity, an approach that looks not for causality but for meaning in the co-occurrence of certain events.
“Quasi-magical thinking” describes “cases in which people act as if they erroneously believe that their action influences the outcome, even though they do not really hold that belief”.[1]