I tried Borax with sugar as bait but these ants are not taking it. They wonder aimlessly on ceiling, they come from an electrical junction box in kitchen. There is no visible path it's just circling each other in a specific area on ceiling. I bug sprayed the area but they still go there. There are like dozen visible ants.
You can powder a 3-6 inch border around the outlet box on the ceiling with diatomaceous earth (I'd use food grade since this is in the kitchen) to control the ants. Then I'd use a fire-rated putty to seal the outlet box.
When I lived in an apartment, there was a large colony of ants living by the pool and they would come out of little cracks in the walls. I ended up caulking everywhere I saw a crack or hole and powdering around all the doors windows and that stopped them.
If you're not adverse to actual insecticides, I recommend something Bifenthrin based. It is relatively safe to mammals and deadly to most insects, and remains effective for a quite a while. I normally spray it outside as a barrier around the base of my house every couple months. But it is also certified for indoor use.