Exhibit 23.2


Consent of Independent Registered Public Accounting Firm


We consent to the reference to our firm under the caption “Experts” and to the use of our report dated September 6, 2023, with respect to the consolidated financial statements of Pinstripes, Inc. included in the Joint Proxy Statement/Consent Solicitation Statement/Prospectus of Banyan Acquisition Corporation, that is made a part of Amendment No. 1 to the Registration Statement (Form S-4 No. 333-274442) and related Prospectus of Banyan Acquisition Corporation for the registration of shares of its common stock.


/s/ Ernst & Young LLP


Chicago, Illinois

October 30, 2023