Attacks are defined in the Core Rules as being made by ranged or melee weapons, psychic abilities are neither, so are not attacks.
From the Core Rules:
MAKING ATTACKS
Attacks are made using ranged or melee weapons. Attacks can be made one at a time, or, in some cases, you can roll for multiple attacks together. The following sequence is used to make attacks one at a time:
From the Rules Glossary:
Attack: An attack is either a ranged attack or melee attack depending on which type of weapon is used to make it.