For me psilocybin is too much of an emotional experience to focus on any abstract problems. I could imagine using cannabis for problem solving — it allows for concentration and focus.
I don't have much time for my self, so my sessions have to be carefully planned — and I think planning helps not getting distracted with minutiae. The times I have been drawing high were well planned, and very productive.