\version "2.26.0"

#(define myArr '#(10 20 30))

\header {
  composer   = "COMPOSER"
  title      = "TITLE"
}

\paper {
  % top-markup-spacing = #'((basic-distance . #f) (minimum-distance . (vector-ref myArr 0)) (padding . #f) (stretchability . #f))
  % top-markup-spacing = #'((basic-distance . #f) (minimum-distance . #(vector-ref myArr 0)) (padding . #f) (stretchability . #f))
  % top-markup-spacing = #'((basic-distance . #f) (minimum-distance . #'(vector-ref myArr 0)) (padding . #f) (stretchability . #f))

  % ALL ABOVE WON'T SHIFT THE TITLE

  % ONLY THIS ONE DOES:
  top-markup-spacing = #'((basic-distance . #f) (minimum-distance . 10) (padding . #f) (stretchability . #f))
}

% BUT HERE myArr on Index 0 IS PERFECTLY USED
\markup \vspace #(vector-ref myArr 0)

{ c d e }