Take a look at the last comment in Find Image - Not Finding Anything Useful (Big Sur). Interesting solution.
You might also try the example macro at the end of Find Image on Screenkm.macros, which just looks for the Apple icon on the menu bar and returns some information. That works here, too.