How to model intelligence?

I also had this question before.
As a result have created Capella add-on that adds behaviour tree notation to Capella

You may know that behvaiour trees are used for control flow definitions
in game engines (Unity, Unreal Engines)
and robotics (ROS2)

See btree notation description for example here

Current add-on supports version Cappella version 5.2.0. You can find update site here