In the first picture, is that of the very thin edge of tank light showing through that you noted earlier? So is it just small section of one side and the rest does not expose any light? I'm just trying to see how the light is "leaking" through with the thick sand there? The second picture is a bit hard to see the details and isn't too clear.
Knowing what I know up to this point, I would swap out for the 1/2" white foam. This doesn't mean what you have is not safe. If I had to make a determination if it was safe or unsafe, I'd say it was (but I'm just a random person on a fish forum LOL).
Ignorance is blitz. But given that I was recommended to use 1/2" white foam because it crushes better (I'd assume is a bit less forgiving than a thicker one but enough to support any imperfections) I'd be negligent not to take his advise. My OCD will eventually kick in and I wouldn't let it go. So better to just swap it out. That's what I personally would do.