@Sravan Reddyboina Thanks for reaching out, Unfortunately, we don't have any logic apps action related to SharePoint that can help you to pull the list of members who has access to that particular folder in SharePoint.
Please feel free to raise a feature request on UserVoice to support this, if this is something that you would want to see in logic app actions.
In case if there are any share point REST API that can retrieve the member details in a particular folder then you can leverage HTTP connector in your workflow to get the member details.