What API Service classification? Both viscosity grades from SL onwards will be virtually the same under ordinary temperatures, with the 0W40 better at very low and very high temperatures.
Please keep in mind that a synthetic oil will form little to no sludge due to better long term heat stability over longer drain intervals, while the mineral oil is more likely to do that and will require more frequent oil changes to prevent that outcome, everything else being equal.