Looks like mescal bean,
Dermatophyllum spp.
Native to the deserts of AZ, NM, TX, and northern Mexico. Highly toxic to livestock and humans, but some folk say you can get a massive psychedelic trip from a small dose of the seeds. Nitrogen fixing and a good shelter/nurse tree for other vegetation.