The Crazy ant, Paratrechina longicornis (Latreille), so named for its seemingly ‘crazy’ behavior (erratic and rapid movement), is quite rare in Maine. It is more prevalent, and more problematic, in southern regions of the U.S., from Florida to South Carolina and west to Texas. But it is also found in residences and warehouses over much of the eastern U.S. (and in California and Arizona), where their preferred food sources can be found in abundance: meats, grease, sweets, fruits, vegetables, and various liquids. They will forage long distances from their nests in search of food, making it challenging to control them (when not knowing where their nest is located). The detailed Florida fact sheet we link to below has a lot more information about them, as well as numerous photos.
Additional Information: Crazy Ant (University of Florida) (includes photos)