Old car, truck and equipment batteries working or not, have a dollar value based on their lead content. Lead values change daily on the market affecting the price paid by scrap dealers. Typically, you should expect to be paid 5-8$ per scrap car battery. Truck batteries are larger and are paid between $10-12 each.
You can view scrap lead market prices here: https://www.scrapmonster.com/scrap-prices/category/Lead-Scrap/112/1/1