You don't need a function for this, as you can just use the JavaScript filter function on the axes array.
This will create a new array with the filtered objects.
const response = pm.response.json();
let search = response.axes.filter(obj =>
obj.is_validation_required === false &&
obj.additionnal_day_allowed === true &&
obj.remaining_days > 0);
console.log(search);