After reading this question, I read in the reference provided (Hyndman, 1996, The American Statistician) the following:
It follows inmediately from the definition that the boundary of an HDR consists of those values of the sample space with equal density.
How does it follow from the definition ?
Let $f(x)$ be the density function of a random variable $X$. Then the $100(1-\alpha)\%$ HDR is the subset $R(f_\alpha)$ of the sample space of $X$ such that $$R(f_\alpha) = \{x\colon f(x)\geq f_\alpha\},$$ where $f_\alpha$ is the largest constant such that $$P\big(X\in R(f_\alpha)\big)\geq 1-\alpha.$$